:root {
    --stroke: #0A1C20;
    --text: #FEDC0C;
    --bg: #6FBFD9;
    --duration: 550ms;
    --easing: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.content {
    position: absolute;
    top: 10%;
    left: 50%;
    -webkit-transform: translate(-0.9rem, -50%);
    transform: translate(-0.9rem, -50%);
}

h1,
h2 {
    position: relative;
    margin: 0;
    color: #4d90ad;
    text-align: center;
    font-family: '宋体', cursive;
    line-height: 1;
    white-space: nowrap;
    -webkit-text-stroke-width: 0px;
}

h1 span {
    position: absolute;
    left: 50%;
    top: 0;
    display: inline-block;
    margin-top: 0.6rem;
    opacity: 0;
    height: 80vh;
    transform: translateX(-50%);
    transition: all calc(var( --duration) * 0.7) var(--easing) 300ms;
    -webkit-transform-origin: bottom center;
    transform-origin: bottom center;
    -webkit-text-stroke-width: 0.04rem;
}

h1 span.animate-in {
    margin-top: 0px;
    opacity: 1;
    font-size: 0.8rem;
}

h1 span.animate-in.capital {
    font-size: 1rem;

}

h1 span:nth-child(1) {
    z-index: 8;
    -webkit-transform: translateX(-50%) rotate(-10deg);
    transform: translateX(-50%) rotate(-10deg);
}

h1 span:nth-child(2) {
    z-index: 7;
    -webkit-transform: rotate(-4deg);
    transform: translateX(-50%) rotate(-4deg);
}

h1 span:nth-child(3) {
    z-index: 6;
    -webkit-transform: rotate(2deg);
    transform: translateX(-50%) rotate(2deg);
}

h1 span:nth-child(4) {
    z-index: 5;
    -webkit-transform: rotate(8deg);
    transform: translateX(-50%) rotate(8deg);
}

h1 span:nth-child(5) {
    z-index: 4;
    -webkit-transform: rotate(14deg);
    transform: translateX(-50%) rotate(14deg);
}

h2 {
    position: absolute;
    top: 1.2rem;
    left: 50%;
    font-size: 0.5rem;
    letter-spacing: -4px;
    /* -webkit-transform: translateX(-78px); */
    transform: translateX(-50%);
    -webkit-text-stroke-width: 2px;
}

h2 span {
    display: inline-block;
    opacity: 0;
    transition: all var(--duration) ease 750ms;
    -webkit-transform: translateX(0.05rem);
    transform: translateX(0.05rem);
}

h2 span.animate-in {
    opacity: 1;
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
}

h2 span.capital {
    margin-left: 0.1rem;
    /* font-size: 65px; */
}